<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post"
    action="${rc.getContextPath()}/manage/workCenter/workCenterLookup?hr=hr"
    onsubmit="return  dwzSearch(this, 'dialog');">
    <div class="pageHeader" style="border-bottom: 1px solid #D8DFE5;">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label><@label key="workCenter.C,colon">工作中心：</@label></label> <input
                    name="workCenterText" class="textInput" type="text"
                    value="${page.workCenterText!''}"></li>
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label
                                key="query.B">查询</@label></button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</form>

<table class="table border" width="100%" layoutH="138">
    <thead>
        <tr>
            <th width="30"><input type="checkbox" class="checkboxCtrl"
                group="workCenterCode" /></th>
            <th width="100"><@label key="workCenterCode.C">工作中心编号</@label></th>
            <th width="100"><@label key="workCenterText.C">工作中心名称</@label></th>

        </tr>
    </thead>
    <tbody>
        <#if page??><#if (page.data?size>0)> <#list page.data as workCenter>
        <tr>
            <td><input type="checkbox" name="workCenterCode"
                value="{code:'${workCenter.workCenterCode!''}',name:'<@json_escape>${workCenter.workCenterText!''}</@json_escape>'}" />
            <td>${workCenter.workCenterCode!''}</td>
            <td>${workCenter.workCenterText!''}</td>
        </tr>
        </#list> <#else>
        <tr target="workCenter_code">
            <td colspan="5" class="noData">======<@label
                key="noListData.C">列表无数据</@label>=====</font>
            </td>
        </tr>
        </#if> <#else>
        <tr target="workCenter_code">
            <td colspan="5" class="noData">======<@label
                key="noListData.C">列表无数据</@label>=====</font>
            </td>
        </tr>
        </#if>
    </tbody>
</table>
<#include "/common/dialogPanelBar.html">
<div class="formBar">
    <ul>
        <li><div class="buttonActive">
                <div class="buttonContent">
                    <button type="button" multLookup="workCenterCode" warn="请选择">确定</button>
                </div>
            </div></li>
        <li>
            <div class="buttonActiveGrey">
                <div class="buttonContent">
                    <button class="close" type="button"><@label
                        key="close.B">关闭</@label></button>
                </div>
            </div>
        </li>

    </ul>
</div>

